package com.leejxx.health.config;

import com.leejxx.health.utils.QiniuUtils;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author LeeJx
 * @ClassName QiniuConfiguration
 * @Description TODO
 * @date 2021/1/2 8:30
 * @Version 1.0
 */
@Configuration
public class QiniuConfiguration {
    @Bean
    @ConfigurationProperties("qiniu")
    public QiniuUtils qiniuUtils() {
        return new QiniuUtils();
    }
}
